package org.example.myleet.p1606;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(Assert.isContainPass(new Integer[]{1}, solution.busiestServers(3, new int[]{1,2,3,4,5}, new int[]{5,2,3,3,3})));
        Assert.isTrue(Assert.isContainPass(new Integer[]{0}, solution.busiestServers(3, new int[]{1,2,3,4}, new int[]{1,2,1,2})));
        Assert.isTrue(Assert.isContainPass(new Integer[]{0,1,2}, solution.busiestServers(3, new int[]{1,2,3}, new int[]{10,12,11})));
        Assert.isTrue(Assert.isContainPass(new Integer[]{1}, solution.busiestServers(3, new int[]{1,2,3,4,8,9,10}, new int[]{5,2,10,3,1,2,2})));
        Assert.isTrue(Assert.isContainPass(new Integer[]{0}, solution.busiestServers(1, new int[]{1}, new int[]{1})));
        Assert.isTrue(Assert.isContainPass(new Integer[]{1}, solution.busiestServers(2, new int[]{1,2,3}, new int[]{1000000000,1,1000000000})));
    }
}
